package com.lsfb.testgamedemo.Utils;

import com.loopj.android.http.AsyncHttpClient;
import com.loopj.android.http.RequestParams;

public class AsynHttp {
  AsyncHttpClient asyncHttpClient=new AsyncHttpClient();
  
  public void sendGet(String url,NetCallBack cb) {
	asyncHttpClient.get(url, cb);
}
  
  public void sendPost(String url,RequestParams params,NetCallBack cb)
  {
	  asyncHttpClient.post(url, params, cb);
  }
}
